package com.hanxy.admin.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import lombok.experimental.SuperBuilder;

/**
* 系统角色菜单实体
*
* @author dingyoukun
* @date 2021-08-26 20:39
**/
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
@EqualsAndHashCode
@Accessors(chain = true)
@ApiModel(value = "SysRoleMenu", description = "系统角色菜单实体")
@TableName(value = "t_sys_role_menu")
public class SysRoleMenu {

	/**
     * id 主键
     */
    @ApiModelProperty(value = "主键")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
     * menuId 菜单id
     */
    @ApiModelProperty(value = "菜单id")
	private Integer menuId;

	/**
     * roleId 角色id
     */
    @ApiModelProperty(value = "角色id")
	private Integer roleId;

}
